package com.cjlgb.design.common.security.exception;

import com.cjlgb.design.common.core.constant.HttpStatus;

/**
 * @author WFT
 * @date 2019/7/22
 * description:
 */
public class ForbiddenException extends SecurityException {

    public ForbiddenException(String msg) {
        super(msg);
    }

    @Override
    public int getHttpErrorCode() {
        return HttpStatus.FORBIDDEN;
    }
}
